package com.j4dream.property.dao;

import com.j4dream.property.model.PostDto;
import com.j4dream.property.model.UserDto;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface AdminDao {
    void insertPost(PostDto post);

    @Insert("INSERT INTO user (email, name, firstName, lastName, createTime) VALUES (#{email}, #{name})")
    void insertUser(UserDto user);
}
